import { createRouter, createWebHistory } from 'vue-router';

const routerHistory = createWebHistory();

const router = createRouter({
    history: routerHistory,  // history
    routes:[
      {
        path: '/',
        redirect: '/views/home'
      },
      {
        path: '/views/home',
        name: 'home',
        component: require('@/views/home').default
      },
    ]
});

export default router;